package com.boot.web.dao;

import com.boot.web.entity.CollageInRecord2;
import com.boot.base.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 拼团拼中记录-极乐桑巴数据层接口
 * @author 【zhouJie】
 * @date 2021-07-14 23:53:13
 */
public interface CollageInRecord2Dao extends BaseDao<CollageInRecord2> {

    CollageInRecord2 queryCir2ByIds(@Param("modeId") Integer modeId,
                                        @Param("productId") Integer productId, @Param("userId") Integer userId);

    List<CollageInRecord2> queryCir2ByUserId(Integer userId);

    // TODO 将6改成3
    CollageInRecord2 queryCir2ByIds_1(@Param("modeId") Integer modeId, @Param("productId") Integer productId,
                                      @Param("userId") Integer userId);

}
